package com.xxx.yuedong.mine.service;

import com.xxx.yuedong.common.R;
import com.xxx.yuedong.mine.pojo.User;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

public interface UserService {
    public ArrayList<String> searchUserPermission(Long id);

    public int insert(User user);

    public HashMap login(HashMap param);

    public Integer updatePoints(HashMap param);

    public HashMap searchUserInfo(Long userId);

    public List<HashMap> searchAllUserInfo();

    public boolean searchUserByUsername(String username);

    public int insertGuidePageData(HashMap param);

    public R searchAllUserByPage(HashMap param);

    public R update(HashMap param);

    public int addPoints(long userId,int pointsToAdd);

    public Integer searchUserPoints(Long id);
}
